<table cellpadding="3" cellspacing="3"  class="yvo-hw100">
    <?php foreach ($intervals as $interval): ?>
        <tr>
            <td class="txtright"><?php echo $interval['time_start'] ?></td>
            <td class="txtright"><?php echo $interval['time_end'] ?></td>
            <td class="txtleft"><?php echo $interval['name'] ?></td>
            <td class="txtright"><?php echo $interval['seats'] ?></td>
            <td>
            	<a id="interval_delete_<?php echo $interval['settings_time_schedule_id'] ?>"
            		 href="<?php echo url_for('@settings_day_interval_delete?id=' . $interval['settings_time_schedule_id']) ?>">
            		 <div class="ui-state-default ui-corner-all" title="<?php echo __('delete'); ?>">
						<span class="ui-icon ui-icon-minusthick"></span>
					</div>
				</a>
			</td>
        </tr>
    <?php endforeach ?>
</table>

<div class="yvo-buttons" style="display: inline-block;">
	<input id="add_day_interval_<?php echo $day ?>" type="button" class="ui-button ui-widget ui-state-active ui-corner-all ui-button-text-only ui-button-text" value="<?php echo __('Add new timeslot') ?>" />
</div>